package com.test.dao;

import java.awt.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.test.comment.FightBean;
import com.test.comment.SingerBean;
import com.test.comment.UservoteBean;

@Repository
public interface VoteDao {
	FightBean SelectVote();
	//查询能投票的比赛
	SingerBean SelectSinger(int sid);

	
	//查询投票表
	String SelectUserVote(@Param("usercode")String usercode,@Param("rid")int rid);
	
	//向投票表中添加用户
	void InsertUser(UservoteBean uservoteBean);
}
